﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace NJT.进程
{
    public class 线程池
    {
        private static List<Thread> _子线程 = new List<Thread>();

        public static List<Thread> 列表
        {
            get { return _子线程; }
        }


        public static void 结束所有()
        {
            foreach (var item in _子线程)
            {
                item.Abort();
            }
        }
    }
}
